From: Jérémy Lal Date: Sun, 1 Mar 2026 14:44:04 +0000 (+0100) Subject: keep nodejs compatible with libc-ares public headers X-Git-Tag: archive/raspbian/22.22.1+dfsg+_cs22.19.15-1+rpi1^2^2~14 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com//%22stanciumarius94%40gmail.com/%22/%22http:/www.example.com/%22stanciumarius94%40gmail.com/%22?a=commitdiff_plain;h=91087f7b2fb3b076746d56aae83827eaad52d60d;p=nodejs.git keep nodejs compatible with libc-ares public headers Forwarded: not-needed Last-Update: 2021-10-20 Gbp-Pq: Topic deps Gbp-Pq: Name cares.patch --- diff --git a/src/cares_wrap.h b/src/cares_wrap.h index dd62c2f6f..77747bde3 100644 --- a/src/cares_wrap.h +++ b/src/cares_wrap.h @@ -23,7 +23,15 @@ # include #endif // __POSIX__ -# include +#if defined(__ANDROID__) || \ + defined(__MINGW32__) || \ + defined(__OpenBSD__) || \ + defined(_MSC_VER) +# include +#else +# include +#endif + namespace node { namespace cares_wrap {